// 创建一个JavaScript脚本文件，例如 get_bundleid.js
function appInfo() {
    const mainBundle = ObjC.classes.NSBundle.mainBundle();
    const bundleId = mainBundle.bundleIdentifier().toString();
    const executablePath = mainBundle.executablePath().toString();
    const bundlePath = mainBundle.bundlePath().toString();

    console.log('Bundle ID:', bundleId);
    console.log('Executable Path:', executablePath);
    console.log('Bundle Path:', bundlePath);
}

// 运行函数
appInfo();

// com.hungerstation.ios.hungerstationapp